-- GENERATED SPELL FOR [Tatjana] --


function spell0_27627(pUnit, Event) --@Cutdown,n/a--
pUnit:FullCastSpellOnTarget(32009,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27627', 593, 1)
end

function Sorts_27627(pUnit, Event)
local choix_sorts_27627 = math.random(0, 0)
if choix_sorts_27627 == 0 then
pUnit:RegisterEvent('spell0_27627', 1, 1)
end
end

function mob27627_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27627', math.random(1500, 3000), 1)
end

function mob27627_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27627_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27627_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27627, 1, 'mob27627_Action')
RegisterUnitEvent(27627, 2, 'mob27627_Leave')
RegisterUnitEvent(27627, 3, 'mob27627_Kill')
RegisterUnitEvent(27627, 4, 'mob27627_Die')
